<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<h3>${action}</h3>
<c:forEach var="entity" items="${entities}">
	<div id="blog-div" class="entity-style">
		<article id="blog-post-preview">
			<header class="blog-title">
				<a class="" href="blogPost.jsp?blogId=${entity.id}">${entity.title}</a>
			</header>
			<p class="blog-preview">${entity.preview} <span>[...]</span></p>
			<p class="content-time">${entity.postedDate}</p>
		</article>
	</div>
</c:forEach>